/**
 * 定义一组命名的常量值
 */
enum WeekDay{
   Monday,
  TuesDay,
}




void main(){
  WeekDay today = WeekDay.Monday;
  print('Today is $today');  // Today is WeekDay.Monday
  print('Today2 is ${today.toString().split('.').last}'); // Today2 is Monday

}